package com.lire.shop.converter;

import com.lire.shop.entity.Product;
import com.lire.shop.model.vo.ProductVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface ProductConverter {

    ProductConverter INSTANCE = Mappers.getMapper(ProductConverter.class);

    ProductVO do2vo(Product product);
}
